/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package moviefansystem.Gui;

import javax.swing.JFrame;
import javax.swing.JOptionPane;
import moviefansystem.Klant;
import moviefansystemControllers.Controller;
import moviefansystemControllers.GuiController;

/**
 *
 * @author Nick
 */
public class Gui_NieuweKlant extends javax.swing.JFrame {
    Controller con;
    GuiController gCon;
    /**
     * Creates new form Gui_NieuweKlant
     */
    public Gui_NieuweKlant(GuiController gCon) {
        initComponents();
        con = new Controller();
        this.gCon = gCon;
        clearError();
    }

    private Gui_NieuweKlant() {
        throw new UnsupportedOperationException("Not yet implemented");
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        TFPostcode = new javax.swing.JPanel();
        TFNaam = new javax.swing.JTextField();
        XXXXXXXXX = new java.awt.Label();
        TFTuseenvoegsel = new javax.swing.JTextField();
        XXXXXXXXX1 = new java.awt.Label();
        tfAchterNaam = new javax.swing.JTextField();
        XXXXXXXXX2 = new java.awt.Label();
        TFRekeningNr = new javax.swing.JTextField();
        XXXXXXXXX3 = new java.awt.Label();
        XXXXXXXXX4 = new java.awt.Label();
        XXXXXXXXX5 = new java.awt.Label();
        TFAdres = new javax.swing.JTextField();
        tfPostcode = new javax.swing.JTextField();
        XXXXXXXXX6 = new java.awt.Label();
        TFWoonplaats = new javax.swing.JTextField();
        jPanel2 = new javax.swing.JPanel();
        BTOpslaan = new javax.swing.JButton();
        BTAnnuleren = new javax.swing.JButton();
        jPanel3 = new javax.swing.JPanel();
        jPanel4 = new javax.swing.JPanel();
        lbError1 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        TFPostcode.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

        TFNaam.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                TFNaamActionPerformed(evt);
            }
        });

        XXXXXXXXX.setFont(new java.awt.Font("Calisto MT", 0, 18)); // NOI18N
        XXXXXXXXX.setText("Naam:");

        XXXXXXXXX1.setFont(new java.awt.Font("Calisto MT", 0, 18)); // NOI18N
        XXXXXXXXX1.setText("Tussenvoegsel:");

        XXXXXXXXX2.setFont(new java.awt.Font("Calisto MT", 0, 18)); // NOI18N
        XXXXXXXXX2.setText("Achternaam:");

        XXXXXXXXX3.setFont(new java.awt.Font("Calisto MT", 0, 18)); // NOI18N
        XXXXXXXXX3.setText("Rekening Nr:");

        XXXXXXXXX4.setFont(new java.awt.Font("Calisto MT", 0, 18)); // NOI18N
        XXXXXXXXX4.setText("Postcode:");

        XXXXXXXXX5.setFont(new java.awt.Font("Calisto MT", 0, 18)); // NOI18N
        XXXXXXXXX5.setText("Adres:");

        XXXXXXXXX6.setFont(new java.awt.Font("Calisto MT", 0, 18)); // NOI18N
        XXXXXXXXX6.setText("Woonplaats:");

        javax.swing.GroupLayout TFPostcodeLayout = new javax.swing.GroupLayout(TFPostcode);
        TFPostcode.setLayout(TFPostcodeLayout);
        TFPostcodeLayout.setHorizontalGroup(
            TFPostcodeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(TFPostcodeLayout.createSequentialGroup()
                .addGap(19, 19, 19)
                .addGroup(TFPostcodeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(XXXXXXXXX2, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(XXXXXXXXX1, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(XXXXXXXXX, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(XXXXXXXXX4, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(XXXXXXXXX5, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(XXXXXXXXX6, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(XXXXXXXXX3, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(TFPostcodeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(TFNaam, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(TFTuseenvoegsel, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(tfAchterNaam, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(TFAdres, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(tfPostcode, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(TFWoonplaats, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(TFRekeningNr, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(0, 34, Short.MAX_VALUE))
        );
        TFPostcodeLayout.setVerticalGroup(
            TFPostcodeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(TFPostcodeLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(TFPostcodeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(XXXXXXXXX, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(TFNaam, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(TFPostcodeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(XXXXXXXXX1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(TFTuseenvoegsel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(TFPostcodeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(XXXXXXXXX2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(tfAchterNaam, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(46, 46, 46)
                .addGroup(TFPostcodeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(XXXXXXXXX5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(TFAdres, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(TFPostcodeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(tfPostcode, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(XXXXXXXXX4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(TFPostcodeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(XXXXXXXXX6, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(TFWoonplaats, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 30, Short.MAX_VALUE)
                .addGroup(TFPostcodeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(XXXXXXXXX3, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(TFRekeningNr, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(21, 21, 21))
        );

        XXXXXXXXX.getAccessibleContext().setAccessibleName("XXXXXXXXXX");

        jPanel2.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

        BTOpslaan.setFont(new java.awt.Font("Tahoma", 0, 24)); // NOI18N
        BTOpslaan.setText("Opslaan");
        BTOpslaan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTOpslaanActionPerformed(evt);
            }
        });

        BTAnnuleren.setFont(new java.awt.Font("Tahoma", 0, 24)); // NOI18N
        BTAnnuleren.setText("Annuleren");
        BTAnnuleren.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTAnnulerenActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                .addContainerGap(178, Short.MAX_VALUE)
                .addComponent(BTAnnuleren)
                .addGap(18, 18, 18)
                .addComponent(BTOpslaan, javax.swing.GroupLayout.PREFERRED_SIZE, 139, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGap(19, 19, 19)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(BTOpslaan, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(BTAnnuleren, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(24, Short.MAX_VALUE))
        );

        jPanel3.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 0, Short.MAX_VALUE)
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 0, Short.MAX_VALUE)
        );

        jPanel4.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

        lbError1.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        lbError1.setForeground(new java.awt.Color(255, 0, 0));
        lbError1.setText("LbError1");

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lbError1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lbError1, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(TFPostcode, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(TFPostcode, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void BTAnnulerenActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTAnnulerenActionPerformed
     gCon.ingelogt(true);
     gCon.nieuweKlant(false);
    }//GEN-LAST:event_BTAnnulerenActionPerformed

    private void TFNaamActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_TFNaamActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_TFNaamActionPerformed

    public void clearError()
    {
        lbError1.setText("");
    }
    private void BTOpslaanActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTOpslaanActionPerformed
    clearError();// error beeld leeg maken

    
    Klant k = new Klant(TFNaam.getText(),TFTuseenvoegsel.getText(), tfAchterNaam.getText());// naam ophalen uit GUi
    
    if(TFAdres.getText().equals(""))//Adres ophalen uit GUI
    {lbError1.setText("Adres mag niet leeg zijn");}
    else
    {k.setAdres(TFAdres.getText());}
        
    if(tfPostcode.getText().equals(""))//postcode ophalen uit GUI
     {lbError1.setText("postcode mag niet leeg zijn");}
    else
    {k.setPostcode(TFAdres.getText());}
    
    if(TFWoonplaats.getText().equals(""))//woonplaats ophalen uit GUI
    {lbError1.setText("woonplaats mag niet leeg zijn");}
    else
    {k.setWoonplaats(TFWoonplaats.getText());}
    
    //-----------------------------------------------------------------------------
    //hier wat kleine controlles.
    try
    {
        k.setBankrekeningNr(Integer.parseInt(TFRekeningNr.getText()));//bankrekenign ophalen uit Gui
    }
    catch(Exception ex)
    {
        lbError1.setText("Controleer Bankrekening nummer");
        k.setBankrekeningNr(-1);
    }

    if(k.getAchternaam().equals(""))
    {lbError1.setText("Achternaam mag niet leeg zijn");}//error beeld laten zien
    
    if(k.getNaam().equals(""))
    {lbError1.setText("naam mag niet leeg zijn");}//error beeld laten zien
    
    
    
    if(lbError1.getText().equals(""))//control of er geen openstaande fouten zijn
    {
        if(con.klantToevoegen(k))
        {
            JOptionPane.showMessageDialog(this, "Klant is aangemaakt met KlantNr: "+k.getKlantNr());
            gCon.ingelogt(true);
            gCon.nieuweKlant(false);   
        }
        else
        {JOptionPane.showMessageDialog(this, "Klant is niet aangemaakt" );}
    }
  
    }//GEN-LAST:event_BTOpslaanActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Gui_NieuweKlant.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Gui_NieuweKlant.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Gui_NieuweKlant.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Gui_NieuweKlant.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Gui_NieuweKlant().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton BTAnnuleren;
    private javax.swing.JButton BTOpslaan;
    private javax.swing.JTextField TFAdres;
    private javax.swing.JTextField TFNaam;
    private javax.swing.JPanel TFPostcode;
    private javax.swing.JTextField TFRekeningNr;
    private javax.swing.JTextField TFTuseenvoegsel;
    private javax.swing.JTextField TFWoonplaats;
    private java.awt.Label XXXXXXXXX;
    private java.awt.Label XXXXXXXXX1;
    private java.awt.Label XXXXXXXXX2;
    private java.awt.Label XXXXXXXXX3;
    private java.awt.Label XXXXXXXXX4;
    private java.awt.Label XXXXXXXXX5;
    private java.awt.Label XXXXXXXXX6;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JLabel lbError1;
    private javax.swing.JTextField tfAchterNaam;
    private javax.swing.JTextField tfPostcode;
    // End of variables declaration//GEN-END:variables
}
